package com.example.springboottest.event;

import org.springframework.context.ApplicationEvent;

public class FnTestEvent extends ApplicationEvent {
    /**
     * Create a new ApplicationEvent.
     *
     * @param source the object on which the event initially occurred (never {@code null})
     */
    public FnTestEvent(Object source) {
        super(source);
    }

    /**
     * 事件处理事项
     *
     * @param stuId
     */
    public void deleteById(String stuId) {
        System.out.println("收到stuId=\t：" + stuId);
    }
}
